package com.company.emallbackend.entity.dto;

import cn.hutool.core.annotation.Alias;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author hanlijian
 * @create 2023-01-11-13:38
 */
@Data
@ApiModel(value = "用户注册")
public class RegisterDTO {
    
    @ApiModelProperty("用户名")
    @Alias("用户名")
    private String name;
    
    @ApiModelProperty("昵称")
    @Alias("昵称")
    private String nickname;
    
    @ApiModelProperty("密码")
    @Alias("密码")
    private String password;
    
    @ApiModelProperty("邮箱")
    @Alias("邮箱")
    private String email;
    
    @ApiModelProperty("验证码")
    @Alias("验证码")
    private String code;
    
    
}
